#define _CRT_SECURE_NO_WARNINGS 1,

#include"Sort.h"

int main()
{
	int a[10] = { 6,1,2,7,9,3,4,6,10,8 };
	int b[10] = { -7,-5,-4,-1,0,9,-1,0,7,4 };
	int c[9] = { 25,84,21,47,15,27,68,35,20 };
	int d[] = { 10,6,7,1,3,9,4,2,5,11,15,13,14,12 };
	//InsertSort(b, 10);
	//ShellSort(a, 10);
	//SelectSort(a, 10);
	//HeapSort(b, 4);
	srand((unsigned int)time(NULL));
	//QuickSort(c, 0, 8);
	//QuickSortNonR(a, 0, 9);
	MergeSort(d, sizeof(d) / sizeof(d[0]));
	//BubbleSort(b, 10);
	//MergeSortNonR(d, sizeof(d)/sizeof(d[0]));
	//CountSort(d, sizeof(d) / sizeof(d[0]));
	for (int i = 0; i < sizeof(d) / sizeof(d[0]);i++)
	{
		printf("%d ", d[i]);
	}
	return 0;
}

